package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司信息对象 companyinfo
 * 
 * @author yang
 * @date 2024-11-02
 */
public class Companyinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司ID  */
    private Long companyId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 公司Logo链接 */
    @Excel(name = "公司Logo链接")
    private String logoUrl;

    /** 公司规模 */
    @Excel(name = "公司规模")
    private String companySize;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private String industry;

    /** 成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date foundDate;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactInfo;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setLogoUrl(String logoUrl) 
    {
        this.logoUrl = logoUrl;
    }

    public String getLogoUrl() 
    {
        return logoUrl;
    }
    public void setCompanySize(String companySize) 
    {
        this.companySize = companySize;
    }

    public String getCompanySize() 
    {
        return companySize;
    }
    public void setIndustry(String industry) 
    {
        this.industry = industry;
    }

    public String getIndustry() 
    {
        return industry;
    }
    public void setFoundDate(Date foundDate) 
    {
        this.foundDate = foundDate;
    }

    public Date getFoundDate() 
    {
        return foundDate;
    }
    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("logoUrl", getLogoUrl())
            .append("companySize", getCompanySize())
            .append("industry", getIndustry())
            .append("foundDate", getFoundDate())
            .append("contactInfo", getContactInfo())
            .toString();
    }
}
